package cn.ffcs.uec.salary.manager.impl;

import javax.annotation.Resource;

import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Service;

import cn.ffcs.uec.salary.dao.UecWaCrtDao;
import cn.ffcs.uec.salary.manager.UecWaCrtManager;
import cn.ffcs.uec.salary.model.UecWaCrt;
import cn.ffcs.uom.common.vo.PageInfo;

@Service("uecWaCrtManager")
@Scope("prototype")
public class UecWaCrtManagerImpl implements UecWaCrtManager {

	@Resource
	private UecWaCrtDao uecWaCrtDao;

	@Override
	public PageInfo queryPageInfoByUecWaCrt(UecWaCrt uecWaCrt, int current, int pageSize) {
		return uecWaCrtDao.queryPageInfoByUecWaCrt(uecWaCrt, current, pageSize);
	}

	@Override
	public UecWaCrt findObjectByUecWaCrt(UecWaCrt uecWaCrt) {
		return uecWaCrtDao.findObjectByUecWaCrt(uecWaCrt);
	}

}
